package com.ruoyi.subject.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.utils.CreateId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

 /**
 * ;
 * @author : http://www.chiner.pro
 * @date : 2025-2-5
 */
@ApiModel(value = "公开情报专题成果信息表",description = "")
@NoArgsConstructor
@Data
public class SubjectResult implements Serializable,Cloneable{
    /**  */
    @TableId
    @ApiModelProperty(value = "",notes = "")
    private Long id ;
    /** 专题唯一编号 */
    @ApiModelProperty(value = "专题唯一编号",notes = "")
    private Long subjectId ;
    /** 目标类型(1飞机2舰船3雷达4导弹5固定设施6人物7事件) */
    @ApiModelProperty(value = "目标类型(1飞机2舰船3雷达4导弹5固定设施6人物7事件)",notes = "")
    private String targetType ;
    /** 目标唯一编号 */
    @ApiModelProperty(value = "目标唯一编号",notes = "")
    private Long targetId ;
    /** 生成成果存放地址 */
    @ApiModelProperty(value = "生成成果存放地址",notes = "")
    private String reportPath ;
    /** 预览次数 */
    @ApiModelProperty(value = "预览次数",notes = "")
    private Long viewCount ;
    /** 创建人 */
    @ApiModelProperty(value = "创建人",notes = "")
    private String createUser ;
    /** 创建时间 */
    @ApiModelProperty(value = "创建时间",notes = "")
    private Date createTime ;
    /** 更新人 */
    @ApiModelProperty(value = "更新人",notes = "")
    private String updateUser ;
    /** 更新时间 */
    @ApiModelProperty(value = "更新时间",notes = "")
    private Date updateTime ;


     public SubjectResult(Long subjectId, String targetType, String reportPath) {
         this.id = CreateId.generateId();
         this.subjectId = subjectId;
         this.targetType = targetType;
         this.reportPath = reportPath;
     }
 }